home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC] / NeXTSTEP 3.3 Dev Intel.iso / NextDeveloper / Headers / dbkit / customType.h < prev    next >
Text File  |  1992-12-18  |  816b  |  36 lines

  1. /*
  2. **      customType.h
  3. **      Database Kit, Release 3.0
  4. **      Copyright (c) 1992, NeXT Computer, Inc.  All rights reserved. 
  5. */
  6.  
  7. /*
  8. ** These categories are the mechanism the dbkit uses to place objects into
  9. ** the database.  If a class is associated with a property and it implements
  10. ** this method, this method will be called when the kit tries to store
  11. ** the object into the database.
  12. */
  13.  
  14.  
  15. #define DBFormat_RTF    "RTF"
  16. #define DBFormat_RTFD    "RTFD"
  17. #define DBFormat_TIFF    "TIFF"
  18. #define DBFormat_EPS    "EPS"
  19.  
  20.  
  21. @interface Object (DBFormatInitialization)
  22.  
  23. - initFromBuffer:(void*)buffer ofLength:(unsigned)length
  24.     withFormat:(const char*)aFormatString;
  25.  
  26. @end
  27.  
  28. @interface Object (DBFormatConversion)
  29.  
  30. - writeBuffer:(void**)bufferPtr ofLength:(unsigned*)lengthPtr
  31.     usingFormat:(const char*)aFormatString;
  32.  
  33. @end
  34.  
  35.  
  36.